<%@page import="java.sql.Connection"%>
<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.SQLException"%>
<%@page import="java.sql.Statement"%>
<jsp:useBean id="m" class="com.bruce.Member" scope="session"></jsp:useBean>
<%@taglib  uri="http://java.sun.com/jstl/core" prefix="c" %>
${header.Refer}

<c:set var="login_refer" value="${header.Referer }" scope="session"></c:set>
<c:if test="${m.login}">
	<c:redirect url="index.jsp"></c:redirect>
</c:if>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>login.jsp</title>
</head>


<body>
<form id="logform" action="login" method="post">
	標題: Login.jsp<br/><br/>
	(以下各欄位前面有 *者為 必須填寫 的欄位)<br/><br/>
	*請輸入帳號 :	<input id="userid" name="userid"  type="text" value="" />(長度為4-20字) ""<br/>
	*請輸入密碼 :	<input id="upw1" name="upw1" type="text" value=""/>(長度為4-20字) "$"<br/>
		       	<input id="sbmt" name="sbmt" type="submit" value="登入"><br/>
</form>
</body>
</html>